#include "Command.h"

void TrapezoidCommand::execute()
{    
    if(receiver) receiver->executeTrapezoid(name, width, height, theta);
}

void ExtrudeCommand::execute()
{
    if(receiver) receiver->executeExtrude(name, source, distance);
}

void ShowCommand::execute()
{
    if(receiver) receiver->executeShow();
}

void ClearCommand::execute()
{
    if(receiver) receiver->executeClear();
}
